FROM openjdk:8-jdk-alpine

MAINTAINER Hello Team

RUN mkdir -p /hello/module
RUN mkdir -p /hello/module/logs
RUN mkdir -p /hello/module/temp

WORKDIR /hello/module

EXPOSE 8080

ADD ./jar/<%= moduleName %>.jar ./<%= moduleName %>.jar

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","<%= moduleName %>.jar"] 